package com.bailiban.entity;


import java.io.Serializable;
import java.util.List;

/**
 * (Role)实体类
 *
 * @author zhulang
 * @since 2020-11-02 09:03:03
 */
public class Role implements Serializable {
    private static final long serialVersionUID = -33665934516806884L;

    private Integer id;
    /**
     * 角色名
     */
    private String rolename;
    /**
     * 角色描述
     */
    private String roledesc;
    private List<Users> usersList;
    private List<Permission> permissions;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public String getRoledesc() {
        return roledesc;
    }

    public void setRoledesc(String roledesc) {
        this.roledesc = roledesc;
    }

    public List<Users> getUsersList() {
        return usersList;
    }

    public void setUsersList(List<Users> usersList) {
        this.usersList = usersList;
    }

    public List<Permission> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<Permission> permissions) {
        this.permissions = permissions;
    }
}